--
-- Created by IntelliJ IDEA.
-- User: Administrator
-- Date: 2018/3/26
-- Time: 17:41
-- To change this template use File | Settings | File Templates.
--

local res = ngx.location.capture("/home")
if res then
    ngx.say("status: ", res.status)
    ngx.say("body:")
    ngx.say("")
    ngx.print(res.body)
end

